let lampCount=0
function lampSwitch(){
    var air1=document.getElementById("aLamp");
    var air2=document.getElementById("lamp");
    if(lampCount%2==0){
        air1.href="https://zhidao.baidu.com/question/129390391.html#:~:text=%E7%81%AF%E6%B3%A1%E6%98%AF%E6%A0%B9%E6%8D%AE%E7%94%B5%E6%B5%81%E7%9A%84%E7%83%AD%E6%95%88%E5%BA%94%E5%8E%9F%E7%90%86%E5%88%B6%E6%88%90%E7%9A%84%E3%80%82,%E7%81%AF%E6%B3%A1%E6%8E%A5%E4%B8%8A%E9%A2%9D%E5%AE%9A%E7%9A%84%E7%94%B5%E5%8E%8B%E5%90%8E%EF%BC%8C%E7%94%B5%E6%B5%81%E9%80%9A%E8%BF%87%E7%81%AF%E4%B8%9D%E8%80%8C%E8%A2%AB%E5%8A%A0%E7%83%AD%E5%88%B0%E7%99%BD%E7%82%BD%E7%8A%B6%E6%80%81%20%282000C%E4%BB%A5%E4%B8%8A%29%EF%BC%8C%E5%9B%A0%E8%80%8C%E5%8F%91%E7%83%AD%E5%8F%91%E5%85%89%E3%80%82";
        air2.src="../img/2502.png";
    }else {
        air1.href="https://www.zcshipin.net/zcvoddetail/17470.html";
        air2.src="../img/2501.png";
    }
    lampCount++;
}
function conversion(val){
    var text=document.getElementById("name");
    if(val==0)text.value=text.value.toLowerCase();
    else text.value=text.value.toUpperCase();
}
function rollback(){
    var air=document.getElementsByName("use");
    for(let i=0;i<air.length;i++)
        if(air[i].checked)
            air[i].checked=false;
        else air[i].checked=true;
}